Skip to content

Purge record

Request

The API performs the permanent physical deletion of the given record and all of its versions not including any linked records or files if there are any. It is recommended to clean up all the linked records such as child records, records in relationship block, and actual data (file ingested via Submit API in Ingestion Service) to avoid having an orphaned data after using purge API. This operation cannot be undone. Required roles: 'users.datalake.admins' who is the OWNER of the record.

Security
bearer
Path
idstringrequired

Record id

Note: If the Record ID contains encoded characters (e.g., %5B, %5D, etc.), ensure that you url-encode the Record ID to avoid issues with URL decoding. For example, if your Record ID is opendes:test:%5BUS%5D, you should encode it as opendes%3Atest%3A%255BUS%255D.

Headers
data-partition-idstringrequired

desired data partition id

curl -i -X DELETE \
  'https://as5.api.enterprisedata.slb.com/api/storage/v2/records/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'data-partition-id: string'

Responses

Record deleted successfully.

Response
No content